package com.wing.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.system.model.entity.ApkVersionManager;

import java.util.Map;

/**
 * apk版本管理service
 * @author 25923
 */
public interface ApkVersionManagerService extends IService<ApkVersionManager> {

    /**
     * 查询apk版本列表
     * @param pg
     * @param paramMap
     * @return
     */
    IPage<ApkVersionManager> pageList4app(Page<ApkVersionManager> pg, Map paramMap);

    /**
     * 查询apk最新版本
     * @param type
     * @return
     */
    ApkVersionManager getLastBy(String type);
}
